﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<CondominioG1.Dominio.Reserva>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Details</h2>

    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">Numero</div>
        <div class="display-field"><%: Model.Numero %></div>
        
        <div class="display-label">Fecha</div>
        <div class="display-field"><%: String.Format("{0:dd/MM/yyyy}", Model.Fecha)%></div>
        
        <div class="display-label">Personas</div>
        <div class="display-field"><%: Model.Personas %></div>

        <div class="display-label">Residente</div>
        <div class="display-field"><%: Model.Residente.Dni %></div>

        <div class="display-label">Area</div>
        <div class="display-field"><%: Model.Area.Codigo %></div>
        
        <div class="display-label">Comentario</div>
        <div class="display-field"><%: Model.Comentario %></div>
        
    </fieldset>
    <p>
        <%: Html.ActionLink("Edit", "Edit", new { Numero = Model.Numero })%> |
        <%: Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

